/**
 * @project Devkits
 * @file gui_demo.cpp
 * @author rui.liang (rui.liang@ruhnix.com)
 * @date 2022/11/29 00:03:37
 */

#include <QApplication>
#ifdef QML_GUI
#include "libguiqml/MainGuiQml.h"
using MainGui = MainGuiQml;
#else
#include "libgui/MainGui.h"
#endif

int main(int argc, char *argv[]) {
    QApplication app(argc, argv);
    auto gui = MainGui::create();
    if (!gui) {
        return -1;
    }
    return gui->exec(app);
}